[Puppet Users] Re: Could not find certificate for - Puppet 3.0.0-rc4

2012-10-08 Thread Luca Gioppo
OK It seems that there is a difference: with puppet ca list --all + ca (A7:3B:33:95:2A:37:9D:5C:C2:4E:F3:48:7F:C1:A4:DF:7B:92:56:D4:9A:06:03:30:03:A9:F2:B0:85:F6:B3:CE) + puppet.courtyard.cloudlabcsi.eu (05:47:C9:1F:71:62:5C:CA:BB:BB:F5:25:97:9C:70:73:93:55:93:89:C8

[Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Basil Kurian
I have this definition added in one of my class files package { vixie-cron: ensure => installed, } > > cron { puppet: > command => "/usr/sbin/puppetd --onetime --no-daemonize --verbose > --server puppet.example.com", > user=> root, > hour=> '*', > minute => '*/15', > require =

[Puppet Users] Re: require => Package['name'] directive is not working as expected

2012-10-08 Thread Basil Kurian
Correction But, If I already have the vixie-cron package installed , then it will work. > [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose > --server puppet.example.com > info: Caching catalog for client.example.com > info: Applying configuration version '1349664509' > no

Re: [Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Matthew Burgess
On Mon, Oct 8, 2012 at 10:14 AM, Basil Kurian wrote: > I have this definition added in one of my class files > > >> package { vixie-cron: ensure => installed, } >> >> cron { puppet: >> command => "/usr/sbin/puppetd --onetime --no-daemonize --verbose >> --server puppet.example.com", >> user

Re: [Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Basil Kurian
Thanks Matt. >From http://projects.puppetlabs.com/issues/11362 > This was fixed in #6907 and > released in puppet 2.7.8 > Now it is clear. The client that I'm using is a lower version one. [root@client ~]# rpm -qa | grep puppet puppet-2.6.17-2.el

Re: [Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Basil Kurian
Tried upgrading the puppet master and client to 2.7.19. and that fixed the issue :) [root@client yum.repos.d]# rpm -qa | grep puppet > puppet-2.7.19-1.el5 > [root@client yum.repos.d]# > [root@client yum.repos.d]# /usr/sbin/puppetd --onetime --no-daemonize > --verbose --server puppet.example.com >

Re: [Puppet Users] Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-08 Thread Jakov Sosic
On 10/07/2012 11:28 PM, Sandra Schlichting wrote: I know for that practice, but the problem is that it makes upgrade from samba to samba3x packages a problem. So I would rather avoid that with the puppet. And if you know how to add puppetlabs repo to yum, then you'll know how to

Re: [Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Matthew Burgess
On Mon, Oct 8, 2012 at 10:40 AM, Basil Kurian wrote: > Now it is clear. The client that I'm using is a lower version one. > > [root@client ~]# rpm -qa | grep puppet > puppet-2.6.17-2.el5 OK. I suspect I must have been on an old version too, when I first tested this. Just for my own peace of mi

Re: [Puppet Users] require => Package['name'] directive is not working as expected

2012-10-08 Thread Basil Kurian
:-) On 8 October 2012 15:32, Matthew Burgess wrote: > On Mon, Oct 8, 2012 at 10:40 AM, Basil Kurian > wrote: > > > Now it is clear. The client that I'm using is a lower version one. > > > > [root@client ~]# rpm -qa | grep puppet > > puppet-2.6.17-2.el5 > > OK. I suspect I must have been on an o

Re: [Puppet Users] Puppet 3 killed my environment variables

2012-10-08 Thread jwkoelewijn
Thanks for this suggestion, this did the trick! Kind regards, J.W. Koelewijn On Thursday, October 4, 2012 4:24:26 PM UTC+2, jcbollinger wrote: > > > > On Wednesday, October 3, 2012 8:11:55 AM UTC-5, Daniele Sluijters wrote: >> >> Hi, >> >> Sorry, I got confused between two things. It's not the

[Puppet Users] Force unmount??

2012-10-08 Thread timo
Is there any method of forcibly umounting an NFS mounted directory? We have a test environment managed under puppet that is also our DR environment. In a DR scenario we'll be umounting all NFS shares from out test array and remounting to our DR array. However, as this is a test environment we

[Puppet Users] Re: Can Puppet interact with perl script user input fields?

2012-10-08 Thread Jon Skarpeteig
"It was less then a dozen commands to setup. A bit longer than that once put into puppet." Is this code available anywhere? On Oct 5, 12:55 pm, Steven Nemetz wrote: > The centrify script may be thousands of lines, but it doesn't do that much. A > lot of it is for user interaction and multiple O

[Puppet Users] Re: Concatanating result of custom function to a string

2012-10-08 Thread jcbollinger
On Saturday, October 6, 2012 5:41:09 AM UTC-5, Amos Shapira wrote: > > Hello, > > I'm working on execution of puppet's "puppet cert generate > ...--dns_alt_names=name1,name2,name2" using Puppet 2.7.19 and didn't find a > way to figure out the following: > > I'd prefer to keep the list of "dns_al

Re: [Puppet Users] Deploy nagios client on windows

2012-10-08 Thread Thomas Bendler
Hi Josh, 2012/10/2 Josh Cooper > On Mon, Oct 1, 2012 at 10:39 AM, Josh Cooper wrote: > > [...] > thanks for the answer and sorry for the late reply but I was on vacation. I will follow your recommendations as soon as possible but it won't be before next week (too much projects ;)). Reards, Th

[Puppet Users] Re: Trying to delete home directory while deleting accounts.

2012-10-08 Thread jcbollinger
On Friday, October 5, 2012 12:40:07 PM UTC-5, eduardo wrote: > > Hi all, > I wondering why having provider=useradd the parameter managehome => > true don't delete home directory ? > I have : > user { $name: ensure => absent, managehome => true } > As result, home directory was not deleted.

[Puppet Users] Re: Remove directory

2012-10-08 Thread jcbollinger
On Thursday, October 4, 2012 11:05:08 AM UTC-5, timo wrote: > > Here's one for you! > > We're rolling out some zip files to our servers using Puppet, there's an > exec that unzips them, the zip file is then deleted. I need to remove the > old versions of the unzipped directory using Puppet when

Re: [Puppet Users] Puppet 3.0 upgrade issue

2012-10-08 Thread Henrik Lindberg
On 2012-08-10 11:43, Thomas Bendler wrote: -- 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 puppet-users+unsubscr...@googlegroups.c

[Puppet Users] Re: How to remove warnings related to Resource references should now be capitalized when starts with number?

2012-10-08 Thread jcbollinger
On Thursday, October 4, 2012 8:42:39 AM UTC-5, Carlos Tapia wrote: > > Hi Guys! > > I want to clean warning messages: "*warning: Deprecation notice: > Resource references should now be capitalized*... " > It is related to following line: > > * -> appcmd::32Bit['32BitappPool']* > > If I try to

Re: [Puppet Users] Remove directory

2012-10-08 Thread Stephen Gran
Hi, On Thu, 2012-10-04 at 09:05 -0700, timo wrote: > Here's one for you! > > > We're rolling out some zip files to our servers using Puppet, there's > an exec that unzips them, the zip file is then deleted. I need to > remove the old versions of the unzipped directory using Puppet when we > rol

Re: [Puppet Users] Puppet 3.0 upgrade issue

2012-10-08 Thread Thomas Bendler
2012/10/8 Henrik Lindberg > [...] > run_mode is deprecated as a setting in 3.x - do you have it in some > settings file? > It can still be used on the command line. > [...] > I don't think that I used run_mode anywhere: $ cd /etc/puppet/ $ grep -R run_mode * $ cd /var/lib/puppet/ $ grep -R run_

[Puppet Users] Migration from Puppet 2.6.7 to 3.0.0 issues

2012-10-08 Thread David Campos
Hi all, I'm trying to migrate our configuration from puppet 2.6.7 to 3.0.0 but I am having a strange issue whilst applying the catalog. Error: Could not retrieve catalog from remote server: Could not intern from > yaml: allocator undefined for Proc > /usr/lib/ruby/1.8/yaml.rb:133:in `transfer'

[Puppet Users] Invalid resource type anchor.

2012-10-08 Thread Fran Rodríguez
Hi group, im updating some modules of puppet, and i found this issue or error, that i cannot get resolved it. My puppetmaster is 2.7.1 and client 2.7.18. I used other modulo to prover apt configurations but i think this is more completed. I know that the error is something missing or my class

[Puppet Users] Error 403 on SERVER: Forbidden request: (HOSTNAME) access to (path_to_file) [find] authenticated at line 73 at /etc/puppet/modules/nginx/manifests/init.pp:97

2012-10-08 Thread Mantas Klasavičius
Hi, I can't download file using: source => 'puppet:///modules/mymodule/myfile', Got this error in puppet client: err: /Stage[main]/Nginx/File[server_key]: Could not evaluate: Error 403 on SERVER: Forbidden request: (HOSTNAME) access to /file_metadata/modules/mymodule/myfile [find] authenticated

[Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-08 Thread Gary Titchmarsh
Hi there, Looking at this linkto the breaking changes, you need to amend your config.ru: Comment out the following lines: ARGV << "--rack" require 'puppet/application/master' run Puppet::Application[:master].run Add t

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-08 Thread Thomas Bendler
Hi Gary, 2012/10/8 Gary Titchmarsh > [...] > Looking at this > linkto > the breaking changes, you need to amend your > config.ru: > Comment out the following lines: > [...] > thanks for the tip, you got me into the ri

[Puppet Users] Re: How to remove warnings related to Resource references should now be capitalized when starts with number?

2012-10-08 Thread llowder
comments in line.. On Monday, October 8, 2012 9:38:05 AM UTC-5, jcbollinger wrote: > > > > On Thursday, October 4, 2012 8:42:39 AM UTC-5, Carlos Tapia wrote: >> >> Hi Guys! >> >> I want to clean warning messages: "*warning: Deprecation notice: >> Resource references should now be capitalized*...

[Puppet Users] razor hang

2012-10-08 Thread Markus Falb
Hi, I was playing with razor today. But I am not going far. ipxe is downloading the microkernel but stays at 98% On the server side I see /opt/razor/Razor/bin/razor -w boot default '{"hw_id":"00:50:56:2e:c4:50___","dhcp_mac":"01-00-50-56-2e-c4-50"}' /opt/razor/Razor/bin/razor -w image path m

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Josh Cooper
Hi Peter, On Mon, Oct 8, 2012 at 9:05 AM, Peter Berghold wrote: > I need a pointer in the right direction... > > Is there a document for migrating puppet/passenger to 3.0? > Make sure you upgrade your config.ru. More details here: http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#

[Puppet Users] Resource Scope

2012-10-08 Thread Douglas Garstang
I can't work this out and I'm getting frustrated. :( Puppet is complaining: err: Failed to apply catalog: Could not find dependency Lvm::Volume_group[bcvg] for Lvm::Application_volume[cache] at /truth/sauce/env/prod/modules/object_store/manifests/server.pp:47 Yet, if I comment out that line so t

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 12:35 PM, Josh Cooper wrote: > More details here: > http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#puppet-master-web-server-changes > > Got past stage and thank you for that. Now I'm seeing: # puppet agent --test err: Could not retrieve catalog from remo

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Throwe, Jesse
That your missing activerecord (or at least the right version of it). Try `gem list` to see if activerecord is present. On Mon, Oct 8, 2012 at 2:00 PM, Peter Berghold wrote: > > > On Mon, Oct 8, 2012 at 12:35 PM, Josh Cooper wrote: >> >> More details here: >> http://docs.puppetlabs.com/puppet/3/

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 2:01 PM, Throwe, Jesse wrote: > That your missing activerecord (or at least the right version of it). > Try `gem list` to see if activerecord is present. > > That's what bugs me. Here is active record: activerecord (3.2.8, 2.3.5) Does the fact that I have two versions on

Re: [Puppet Users] Re: Puppet 3.0.0 and Hiera

2012-10-08 Thread Nick Fagerlund
Ah, thanks. I'll look into that. On Sunday, October 7, 2012 1:07:02 PM UTC-7, Stefan Goethals wrote: > > Sorry to burst you bubble > The puppet backend has been 'broken' (intentionally?) > > - https://projects.puppetlabs.com/issues/16321 > - > https://mail.google.com/mail/u/1/?ui=2&shva=1#se

Re: [Puppet Users] Error 403 on SERVER: Forbidden request: (HOSTNAME) access to (path_to_file) [find] authenticated at line 73 at /etc/puppet/modules/nginx/manifests/init.pp:97

2012-10-08 Thread Craig White
Seems like you need to edit auth.conf on your puppet server to allow access which is currently being denied. See the comments in the file (and the messages below) which should give you clues as to which rules need to be enabled. Craig On Oct 8, 2012, at 5:42 AM, Mantas Klasavičius wrote: > Hi,

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
OK... now I'm a bit frightened. I don't know what I did to make the problem go away (I didn't edit anything..) but the problem is now fixed... Computers are so naughty -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this messag

[Puppet Users] Puppet 3.0 and dashboard (again)

2012-10-08 Thread Peter Berghold
Found another issue I believe... I am using dashboard as an ENC and it would seem that during a normal transaction dashboard is not being consulted. Can't put my finger on why except that I added a new class to my global definition and it is not being picked up. [master] # # Node classification

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Josh Cooper
On Mon, Oct 8, 2012 at 11:29 AM, Peter Berghold wrote: > > > OK... now I'm a bit frightened. I don't know what I did to make the problem > go away (I didn't edit anything..) but the problem is now fixed... > Not sure if this is related, but we are investigating another uninitialized constant Act

Re: [Puppet Users] Puppet 3.0 and dashboard (again)

2012-10-08 Thread Josh Cooper
Hi Peter, On Mon, Oct 8, 2012 at 11:59 AM, Peter Berghold wrote: > Found another issue I believe... > > > I am using dashboard as an ENC and it would seem that during a normal > transaction dashboard is not being consulted. Can't put my finger on why > except that I added a new class to my global

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-08 Thread Jo Rhett
>> Actually, it's not specified in the source RPM. And just recompiling the >> source RPM solves the problem. I ran into the same thing, just grabbed the On Oct 6, 2012, at 3:39 PM, Dan White wrote: > Actually, it is. > > https://github.com/erikogan/passenger/blob/master/rpm/passenger.spec > >

Re: [Puppet Users] Purge puppet's reports

2012-10-08 Thread Jo Rhett
> On Thursday, July 21, 2011 8:50:32 AM UTC-5, vagn wrote: > find $d -type f -name \*.yaml -mtime $days | > sort -r | > tail -n +2 | > xargs -n50 /bin/rm -f All this is really better than…? find $d -type f -name \*.yaml -mtime $days -exec rm -f {} \;

Re: [Puppet Users] Puppet 3.0 and dashboard (again)

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 3:11 PM, Josh Cooper wrote: > > Are you using storedconfigs: http://projects.puppetlabs.com/issues/16698 > > > Yep... out of necessity. Am I reading into this right? Enable stored configs and you break ENC? -- Peter L. Berghold salty.cowd...@gmai

Re: [Puppet Users] Force unmount??

2012-10-08 Thread Jo Rhett
On Oct 8, 2012, at 5:38 AM, timo wrote: > I need a method of either forcibly umounting the array, or killing all PID's > using the mounted directores so Puppet can unmount them. I'd like all this > done from Puppet. > > Any ideas? http://docs.puppetlabs.com/references/latest/type.html#exec -

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 3:08 PM, Josh Cooper wrote: > > http://projects.puppetlabs.com/issues/16770 > > > Maybe I need to backdate to something before 3.0? Seems stored configs is interfering with dashboard as an ENC... -- Peter L. Berghold salty.cowd...@gmail.com htt

Re: [Puppet Users] Re: Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-08 Thread Jeff McCune
On Wed, Oct 3, 2012 at 8:32 AM, Robert Rothenberg wrote: > BTW, I have reported this at https://projects.puppetlabs.com/issues/16729 I'm not sure if everyone here is subscribed to issue #16729, so I'd like to take a moment to cross-post the update I posted there. I hope this information is helpf

[Puppet Users] Re: Force unmount??

2012-10-08 Thread jcbollinger
On Monday, October 8, 2012 7:38:23 AM UTC-5, timo wrote: > > Is there any method of forcibly umounting an NFS mounted directory? > > We have a test environment managed under puppet that is also our DR > environment. In a DR scenario we'll be umounting all NFS shares from out > test array and re

Re: [Puppet Users] Invalid resource type anchor.

2012-10-08 Thread Jeff McCune
That's a strange issue. I wonder if it's caused by the class name containing a hyphen? Does this happen to be the puppetlabs-apt module? -Jeff -- 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@g

[Puppet Users] Re: Resource Scope

2012-10-08 Thread jcbollinger
On Monday, October 8, 2012 12:26:41 PM UTC-5, Douglas wrote: > > I can't work this out and I'm getting frustrated. :( > > Puppet is complaining: > > err: Failed to apply catalog: Could not find dependency > Lvm::Volume_group[bcvg] for Lvm::Application_volume[cache] at > /truth/sauce/env/prod/

Re: [Puppet Users] Error 403 on SERVER: Forbidden request: (HOSTNAME) access to (path_to_file) [find] authenticated at line 73 at /etc/puppet/modules/nginx/manifests/init.pp:97

2012-10-08 Thread Denmat
While Craig maybe right, are you sure it's not a typo? Are you trying to find a file in the mymodule module or in nginx module? Normally you would try to keep files required by a module in the module that calls them. Den On 09/10/2012, at 5:11, Craig White wrote: > Seems like you need to edi

Re: [Puppet Users] RHEL 5: Stuck on Puppet 2.7

2012-10-08 Thread Dan White
I think you miss the point. I do not need to hand-build Ruby -- it is available from the puppetlabs-deps repo It is a chicken-egg dilemma with Ruby and Passenger. Passenger depends on the installed version of Ruby. Trying to update Ruby causes a dependency error from Passenger. I tried re-build

[Puppet Users] Access to Windows 7 settings outside of the registry

2012-10-08 Thread Lucas Vickers
I understand that certain/most system settings can be configured through the system registry. I also know that puppet can control the registry values. I am curious if there is any other interface that allows for the configuration of system settings on windows 7 thanks -- You received this mes

[Puppet Users] Windows 7 and Puppet 3.0, can I minimize my windows installation (only essential software)

2012-10-08 Thread Lucas Vickers
Hello, I am on windows 7 using open source puppet 3.0. I have 180 laptops of 8 different vendors that I wish to configure through puppet. Each has the vendor standard installations (annoying anti-virus software, special backup tools, etc). I'd like to remove all this software and leave a sim

[Puppet Users] Multiple Windows boxes, would like to uninstall all non-specified applications

2012-10-08 Thread Lucas Vickers
Hello, I am trying to understand if I can use puppet to uninstall non-specified applications on windows. For example I have 200 laptops that I am using for a project. Instead of manually go in there and delete msn client or some game center, I'd like to uninstall all option softwar. My guess

Re: [Puppet Users] Re: How to remove warnings related to Resource references should now be capitalized when starts with number?

2012-10-08 Thread Henrik Lindberg
On 2012-08-10 18:11, llowder wrote: comments in line.. On Monday, October 8, 2012 9:38:05 AM UTC-5, jcbollinger wrote: On Thursday, October 4, 2012 8:42:39 AM UTC-5, Carlos Tapia wrote: Hi Guys! I want to clean warning messages: "*warning: Deprecation notice: R

[Puppet Users] After upgrade to 3.0: Warning: Error 400 on SERVER: Could not retrieve facts for

2012-10-08 Thread Anatoliy Lisovskiy
I auto-upgraded puppet (as usual) using "yum upgrade -y", and now all agents are getting error 400. # puppet --version 3.0.0 On agent (any!) # puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Could not retrieve facts

[Puppet Users] Re: After upgrade to 3.0: Warning: Error 400 on SERVER: Could not retrieve facts for

2012-10-08 Thread Anatoliy Lisovskiy
Problem solved: found that in database.ini it had been changed to Postgres (?!), but Postgres was not configured to start automatically upon reboot (?!). Some mystery. Anatoliy On Mon, Oct 8, 2012 at 7:29 PM, Anatoliy Lisovskiy wrote: > I auto-upgraded puppet (as usual) using "yum upgrade -y"

Re: [Puppet Users] Re: After upgrade to 3.0: Warning: Error 400 on SERVER: Could not retrieve facts for

2012-10-08 Thread Deepak Giridharagopal
Are you using the puppetdb puppet module? If so, please file a bug about the restart issue and we'll take a look! Deepak On Monday, October 8, 2012 at 9:48 PM, Anatoliy Lisovskiy wrote: > Problem solved: found that in database.ini it had been changed to Postgres > (?!), but Postgres was no

[Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread pdurkin
I've been looking around but can't seem to find an answer to this. I would like to create a file whose initial contents come from the default in the puppet server but is subsequently modifiable and puppet won't overwrite any changes. The reason for this is that if I deploy a user account via pu

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread Peter Brown
Hi, The best way to do that is to modify the system skeleton files and make sure useradd is using them. They get put in user homedirs when the account gets created. On 9 October 2012 15:19, pdurkin wrote: > I've been looking around but can't seem to find an answer to this. > > I would like to cr

Re: [Puppet Users] Re: After upgrade to 3.0: Warning: Error 400 on SERVER: Could not retrieve facts for

2012-10-08 Thread Anatoliy Lisovskiy
I am not sure if it was caused by upgrade. I upgraded it today, but database.ini has October, 1 time stamp. I'll ask if somebody in our company did that. -rw-r- 1 puppetdb puppetdb 1009 Oct 1 15:58 database.ini Anatoliy On Mon, Oct 8, 2012 at 9:01 PM, Deepak Giridharagopal wrote: >

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread pdurkin
Thanks, that solves the problem I posted however there were several situations where I would like to be able to upload a file and after that not care about it. Another example I was wrestling with was uploading a tar.gz then allowing it to be removed afterwards. I want it uploaded so that I ca

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread Peter Brown
On 9 October 2012 15:54, pdurkin wrote: > Thanks, that solves the problem I posted however there were several > situations where I would like to be able to upload a file and after that not > care about it. > > Another example I was wrestling with was uploading a tar.gz then allowing it > to be rem

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread Paul Tötterman
> Is it possible then I should be running an exec to copy the file from the server and use the unless (file exists already)? exec { 'foobar': command => '/usr/bin/wget https://... -O /file/location', creates => '/file/location', } Cheers, Paul -- You received this message because you are s

[Puppet Users] mcollective tcp port

2012-10-08 Thread Andrei-Florian Staicu
Hi all, I'm trying to prepare a common config for the DMZ hosts, and also to account for future infrastructure upgrades. Right now, I'm using only the puppet agent, triggered via SSH. This mean an open port 8140, from the client to the puppetmaster (is it required also the other way around?). I wo

Re: [Puppet Users] Creation of modifiable files via puppet

2012-10-08 Thread Peter Brown
On 9 October 2012 16:26, Paul Tötterman wrote: >> Is it possible then I should be running an exec to copy the file from the >> server and use the unless (file exists already)? > > exec { 'foobar': > command => '/usr/bin/wget https://... -O /file/location', > creates => '/file/location', > } T