similar to: Executing command via puppet !

Displaying 20 results from an estimated 1000 matches similar to: "Executing command via puppet !"

2013 Sep 24
5
Service refresh gets scheduled and swp files
Hi, I have two issues with my puppet. *1*- When I change the config the service on the agent side implement the configuration change but the restart/reload gets scheduled and after 15 or 20 minutes it is executed, however the agent time to get conffig from server is 180 seconds. Followings are the logs *(/Stage[main]/Nginx/Service[nginx]) Triggered ''refresh'' from 2 events*
2011 Apr 30
10
How to check if a package exists
Dear all, I''m trying to do this. Say for example, I want this link: "liblcgdm.so -> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm- libs-1.8.0-1sec.sl5" is already listed. I already have this to create the link: file { ''liblcgdm.so'': ensure => symlink, name => ''/opt/lcg/lib/liblcgdm.so'',
2007 Mar 18
1
A wish or possible?
Hi, One thing I''d like to be able to do is this... define sedfile ( $file = '''', $target = '''', $pattern = '''', $options = ''-i -n'' , onlyif = '''' ) { case $file { '''': { err ( "Require valid filename: ''$file''" ) } } case $target {
2011 Jun 24
7
Different users within same exec
I have the following exec in my manifest : exec { some_exec: path => [ "/bin","/usr/bin","/usr/local/bin" ], command => "EXECUTE COMMAND 1", onlyif => "EXECUTE COMMAND 2", logoutput => "on_failure" } I want that the "COMMAND 1" should be executed by "USER 1" and "COMMAND 2"
2013 Jul 19
2
puppet master and fileserver separate problem
my environment: 192.168.0.13 puppet.uc.local 192.168.0.14 puppetca.uc.local 192.168.0.15 report.uc.local 192.168.0.16 fileserver.uc.local 192.168.0.17 agent01.uc.local i want run a master as fileserver (fileserver.uc.local) the puppet.uc.local and fileserver.uc.local use one ca.pem on puppet.uc.local, i wrote a class for test class test { notify { "hello
2013 Sep 09
1
Error 400 on SERVER: Could not find class pentaho for server.test.com
Good morning , I could help to debug this problem ? "puppet agent - test" Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class pentaho for s <http://srvdev206.cia.stefanini.com/> erver.test.com /usr/lib/ruby/vendor_ruby/puppet/indirector/rest.rb:185:in
2007 Feb 06
14
Unless in exec doesn''t seem to be honored on notify.
This was a fun one to track down... I was trying to use the append_if_no_such_line script from the wiki and it was working fine EXCEPT when I threw a notify at it. The notify appears to completely ignore both unless and onlyif within the exec for some reason. If I put the same test in the actual command line, it works fine. Example: unless => "/bin/grep -Fqe ''$line''
2011 Apr 15
15
Installing port on FreeBSD
New user trying to get a port to compile: I tried searching but all I get are links to the FreeBSD port of puppet. Easier to find a needle in a haystack. A class has: exec { "port-sudo": cwd => "/usr/ports/security/sudo", environment => "BATCH=yes", command => ''/bin/sh -c "/usr/bin/make
2012 Oct 22
4
Possible to exclude an event in Puppet dashboard?
Hi All, I was wondering if it is possible to NOT show an event in puppet dashboard. I have an exec resource that fires of a ruby script. This is triggering a changed event on every run, but actually I want to exclude this from showing up as "CHANGED" Is this possible, if so how can I achieve this? --- myscript: --- exec { "run_myscript" : #
2012 Jul 09
11
manifest for files executable on windows
Hello Puppet Users, I need a puppet master (Ubuntu) to push the executable files to the agent (windows 7) and install those executables I believe the manifest file should be set up to push such config to the windows agent. I came up with something like this: class wireshark { exec { ''wireshark'': command =>
2013 Aug 16
4
Learningpuppet
Hi guys, I''m having difficulties with this exercise: "Try wrapping a user resource in a *human::user* type that automatically grabs that personʼs *.bashrc* file from your *site module* and *manages one or more ssh_authorized_key resources* for their account" 1. What''s a "site module"? 2. What am I expected to change in the .bashrc-file? Really thanks in
2008 May 27
2
how to force a cycle package dependancy
Hi I''m trying to ensure ypbind and yp-tools are not installed BUT they one of the rare group of rpms that require each other. I have package { "yp-tools": ensure => absent, require => Package["ypbind"], } package { "ypbind": ensure => absent, require =>
2008 Jan 29
8
Sending file from mobile phone to Rails app
Hi guys, So I''m trying to add the ability to send files (pictures) from mobile phones to my Rails app using an SMS number, NOT an email address. Can anyone share how this is done? Thanks, Adeel -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Apr 13
2
assignment to a symbol created by paste
Hello, I am creating a number of objects that I wish to have a common name with an index such as x1, x2, x3, ... I would like to do everyting in a loop to make the code compact and minimize the probability of an error by typo. A test problem may look like for (j in 1:10){ as.symbol(paste("x",j,sep="")) <- j; } which ideally would produce x1 = 1, ... x10 = 10. However,
2013 Jun 10
1
Where Query in SQL
Hey all I am trying to use where in clause in sql query in R here is my code: sql.select<-paste("select PERSON_NAME from UNITS where UNIT_ID in ('",cathree,"')",sep="") where cathree is 1 variable with 16 observations as follows UNIT_ID 1 205 2 209 3 213 4 217 5 228 6 232 7 236 8 240 9 245 10 249 11 253 12 257 13 268 14 272 15 276 16 280 but when i run
2006 Apr 20
3
the difference between "x1" and x1
Hello, I am not sure what to write in the subject line, but I would like to take a character string that is a variable in a data frame and apply a function that takes a numeric argument to this character string. Here is a simplified example that would solve my problem. Imagine I have my data stored in a data frame. > x1 <- x2 <- x3 <- x4 <- x5 <- rnorm(20,0,1); > data <-
2010 Aug 31
2
Executing check times out
Hi, Just recently two nodes begun to hang, I cant see that there have been any changes in our manifest. Debug output: [...] debug: //Node[X]/X[X]/Exec[create dir]: Executing check ''test \! -d / dir'' debug: Executing ''test \! -d /dir'' [...] Here it hangs for several minutes, executin the statement manually works of course. The manifest: exec {
2005 Jul 02
3
What to use h323 or oh323 ???
I m new to asterisk n i've got an IP phone that supports h323 protocol.... but i dont know how to configure asterisk to use it... i m comfortable in using sip & iax softphones.... but there is no h323.conf in /etc/asterisk/ .... i read that i've to compile some files but i m confused regarding h323 & oh323 ...... which one should i use.. plz tell me or atleast give some helpful
2011 Feb 17
8
logoutput=>on_failure doesn't work as expected
I''m using puppet 0.25.1. I''ve got a simple resource: exec { "/bin/ls $oracle_base/dba/bin/database_backup.ksh": logoutput => on_failure, } and I don''t want it to log every time it''s successfully run: $ sudo tail -F /var/log/messages | grep puppetd Feb 17 16:36:11 test puppetd[26614]: (//my_module/Exec[/bin/ls /u01/
2009 Feb 10
3
scaffold macro problem
Hello, I am using Komodo Edit 5.0 for ROR. I have made the database by using the macros in it. But when I make model using sacffold, I get error. The details are given below: C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 22, col 2: ` password:'' (ArgumentError) from C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load'' from