Re: [Puppet Users] Checking for the existence of a file

2013-08-08 Thread Ted Fiedler
e here: > > > content => template("samba/smb.erb", "samba/${hostname}.erb"), > > What is your intention with having multiple .erb files per hostname? That > might help us figure if there a different solution is warranted. > > -Rilindo > > On Aug 7, 20

[Puppet Users] Checking for the existence of a file

2013-08-07 Thread Ted Fiedler
;require => Package["samba"], > > } > > } > > > I keep getting the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '.'; expected '}' at

[Puppet Users] Calling puppet from a script

2011-12-01 Thread Ted
I'm trying to call puppet from a bash script and whilst it works, it causes my script to end prematurely. #!/bin/bash ... function runPuppetLocally() { echo "...running Puppet locally" exec puppet agent --test echo "Puppet complete" } runPuppetLocally I presume Puppet is issuing an

[Puppet Users] Re: Same exec but different working directories

2009-10-09 Thread Ted Coyle
> "root", before => Class[buildbox_step2] } } A little obtuse up front, but I'm not cutting and pasting the same exec code all over the place and don't have to worry about name uniqueness. Ted -Original Message- From: puppet-us