Re: [Puppet Users] stdlib module not working

2012-04-01 Thread John Warburton
On 30 March 2012 20:18, Stefan Wiederoder stefanwiedero...@googlemail.comwrote: thanks Eric, ensure did the trick, now I´m stuck while trying to use a facter variable within the line statement: file_line { tmpfs entry: line = tmpfs /dev/shmtmpfs size=${kis_tmpfs_size} 0

Re: [Puppet Users] stdlib module not working

2012-03-30 Thread Stefan Wiederoder
thanks Eric, ensure did the trick, now I´m stuck while trying to use a facter variable within the line statement: file_line { tmpfs entry: line = tmpfs /dev/shmtmpfs size=${kis_tmpfs_size} 0 0, path = /etc/fstab.d/system.fstab, ensure = present } maybe

[Puppet Users] stdlib module not working

2012-03-29 Thread Stefan Wiederoder
I´m trying to utilize the new stdlib module, but got stuck after installation on my puppet server. I´ve tried to use the included test file file_line.pp on the server, but it´s only creating the file - but not managing the content. the same problem on my clients (the new provider file_line has

Re: [Puppet Users] stdlib module not working

2012-03-29 Thread Dan White
Why not use host instead of file_line ? http://docs.puppetlabs.com/references/latest/type.html#host host { 'puppet master host entry': ip = '172.16.240.200', name = 'master.dev.puppetlabs.com', host_aliases = ['master'], } On Mar 29, 2012, at 11:08 AM, Stefan Wiederoder wrote: I´m

Re: [Puppet Users] stdlib module not working

2012-03-29 Thread Eric Shamow
Stefan, Looks related to https://projects.puppetlabs.com/issues/13530, which I just opened. Make sure you ensure = present in the file_line resource. -Eric -- Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 On Thursday, March 29, 2012 at 6:17 PM, Dan White