similar to: Multiple external commands with puppet

Displaying 20 results from an estimated 90000 matches similar to: "Multiple external commands with puppet"

2011 Dec 15
6
Puppet with Ruby1.9 issue
Hi, I have a running puppetmaster with nginx and passenger and ruby 1.9.2. When i do puppet cert --trace --list . i get the following error. /usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/puppet/application/ cert.rb:43:in `block (2 levels) in <class:Cert>'' /usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/puppet/application.rb: 357:in `block (2 levels) in parse_options''
2011 Jul 13
4
puppet manifest execution orders
I created manifest for our webserver. manifest included git clone, database creation and restore database etc.... How to order the installation and exec exactly Roni -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to
2013 Jan 02
13
Puppet and installing packages from source
Hello Everyone, I''m looking for a way to install packages from source via puppet, I was able to locate maybe 5 posts on this subject which is very strange, as I would expect people to still use ./configure with their own customized options. For example, I need to compile Curl with c-ares support, for that I need to set an option for ./configure but can''t find a way to do it.
2013 Jan 04
5
How to manage one line in a file by puppet
Hi, I want to write a puppet module for xen on Debian. This module will need to manage one line in the file /etc/default/grub, namely the line starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of the file untouched. Which would be the best way to do this? I see two options: a) Do some `sed` magic on the file in a `exec` call. Downside: puppet won''t notice
2012 Jun 25
4
Puppet commands require root access
Hi Everyone; Why does running "puppet resource" require root/sudo access? Is it supposed to be this way or do I have a permissions issue? I installed using the gzip files... Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
Hi, I have a problem with running puppet with hiera based data. I am trying to cleanup user accounts on a range of servers (to have the same uid/gid). When I create existing account but with different uid/gid it doesn''t change files group ownership so I need to run a script which cleanups after cleanup ;-) I use the following code: --- :backends: - yaml :hierarchy: -
2011 Jan 26
1
Redundant puppet Masters setup help
Hello All, I require some help for creating multiple puppetmaster with separate Puppet CA server. I followed the steps given in the link below for creating a separate CA server http://bodepd.com/wordpress/?p=7 My requirement is to create 2 Puppetmasters running nginx and unicorn which will be loadbalanced via RR DNS with a separate single Puppet CA server only for issuing and signing
2009 Feb 04
1
Issue with template.pp
Hi i am creating a template.pp for different OS.. Following is my template.pp file node basenode { case $operatingsystem { fedora: { include fedora } default: { include debian } } include baseapps, sshd, admin, default } <=== line 7 node default inherits basenode {} I receive an error. err: Could not parse for environment production: Syntax error
2013 Sep 16
4
Executing command via puppet !
Hi, Is it possible to get response of a command from puppet ? For example if I run "nginx -t" it would give some details about the configurations i.e. if configuration has some error then which file has the error ! Regards -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving
2012 Feb 23
13
Deploying puppet via NFS
I''m attempting to deploy puppet via an NFS share. It''s on a local-only network, and it will contain only ruby (gems) and whatever is needed. Seems simple enough, but tonight I am having an issue with this error: # service puppet start Starting puppet: /local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:36:in `gem_original_require'': no such file to load -- openssl
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
I suspect this has more to do with Ruby than Puppet, but I know little about Ruby and Google has failed me, so I''m asking here. I''m finally getting some of our older systems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby
2011 Jan 11
2
Differences between puppet and puppetd
Hi all, I am using Puppet to execute an Expect script (http://expect.sourceforge.net) on a client. The Puppet recipe, test.pp, is: exec { ''/root/test.exp'': command => ''/root/test.exp'', logoutput => true } The recipe runs correctly when run using ''puppet --debug --verbose test.pp'': debug: /Stage[main]//Exec[/root/test.exp]:
2012 Mar 23
3
Puppet Windows exec
Hi, Is it correct that it''s not possible to excecute Windows Commands directly with the puppet run? For example: exec { ''ExecCreatedFolder'': command => "mkdir C:\PuppetOrdner\ExecCreatedFolder", } I allways have to bind it with a .bat file right? file { ''c:/PuppetFolder/puppettest.bat'': ensure => file,
2009 Jan 09
7
Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
Hi all, I''m doing a new install of my puppet server and I''m doing it like: 1.-) adding epel repo: http://fedoraproject.org/wiki/EPEL/FAQ#howtouse 2.-) yum -y install puppet-server 3.-) rm -rf /etc/puppet 4.-) copy my old puppet conf (from puppet-0.24.5 to 0.24.6) mv /etc/puppet.old /etc/puppet 5.-) start puppetmaster: [gridinstall etc]# /etc/init.d/puppetmaster start
2008 Sep 30
6
something wrong with puppet client or Server
Hi All, I have running puppet client and server on solaris 10 x86. Now days some of puppet client behaviors is something weird !!! or May be i am missing something... for ex. I created class to add one line in /etc/vfstab . but puppet client did it successfully 1st time ...But .. After few days , i saw there are same line has been added more than 250 times.. [ see same line is added so many
2012 Jan 04
5
Making a system user member of a Puppet managed group
Hi All, I have a particular requirement where a Puppet managed group needs to have several members that are either local and not managed by Puppet (e.g. mysql) or they reside in LDAP. Apart from running an exec call to "groupmems", is there another way to achieve this? Thanks in advance. Gonzalo -- You received this message because you are subscribed to the Google Groups
2013 Jun 04
1
exec failure doesn't abort whole puppet transaction
I have my puppet defined as (pseudo code) class A { exec { somethingA: } } class B { exec { somethinB: } } Class[''A''] -> Class[''B''] the exec{ somethingA: } is actually failed on my setup, I was expecting the whole puppet transaction would fail. To my surprise, class B still got executed, and puppet agent returned with code 2
2013 Jun 26
1
use of exec in puppet
Hi, I''ve tried to to exec function in puppet for enabling module for apache. Here is the code that I am using: class apache::mod { exec { "a2enmod" : command => "a2enmod proxy_http", path => "/usr/sbin/", notify => Class["apache::service"], require => Class["apache::install"], } } But in agent I''m getting the
2013 Aug 16
2
exit status of puppet agent --detailed-exitcodes
Hello group, is there a way to make puppet NOT return 2 if only exec{ } and notify{ } were called? Background is as follows: I''m calling puppet agent via cron on my hosts, and I want to get mails if something changes. For this, I used the exit code of "puppet agent --test --detailed-exitcodes", which should be 2 then (or 4/6 on error). Now, every stupid notify { } or exec{
2013 Mar 19
3
Puppet modifying directories by executing shell script as non-root user results in kernel-level insufficient privilege complaints
I am using Puppet 3.1.0 on a CentOS 6.3 machines. The puppet master and puppet agents use CentOS 6.3 as their OS. I have a puppet script (init.pp file for the puppet module) that contains the following exec type: exec { "postgres init": cwd => "/applications/module", command => "bash initializePostgres.sh", user => "postgres", group =>