Am 29.01.14 10:05, schrieb José Luis Ledesma:
Could you try adding the "full path"
Thanks for your help. Using "${wallpaper_plist::plist_name}" does the
trick. :)
Robert
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from th
Am 28.01.14 18:34, schrieb Jose Luis Ledesma:
Could be that the ${plist_name} is undef inside the define? You could try
adding a notify inside the define to check which value it has.
If I use a notify inside the defined resource I get a duplicate
declaration error, so I chnaged the code to use
Am 20.01.14 09:02, schrieb Robert Turk:
You can get list of directories under /Users from facter and then
build an array out of it and use this in your manifest.
I tested your solution and here is what I have done:
I created a custom fact which returns a list of directories under /Users
Am 17.01.14 11:43, schrieb Andrey Kozichev:
You can get list of directories under /Users from facter and then
build an array out of it and use this in your manifest.
Thanks for your help. I will try this...
Robert
--
You received this message because you are subscribed to the Google Groups "P
Am 17.01.14 09:17, schrieb Andrey Kozichev:
Not sure, what is your task.
Where are you getting users from? Is it everyone or do you have
defined list?
I just want to put some plist files in the user library to provide some
setings.
It is for every user, so I could maybe check the "/Users" fo
Am 16.01.14 13:50, schrieb Andrey Kozichev:
Do you need to run this only for logged in users?
No not really... You suggest I could do something like checking which
users exist on the machine and then run it for these users
ignoring if they are logged in or not?
You can use facter fact to retu
Good morning,
I have a question concerning puppet and modifying user data. I am on Mac
OS X 10.8.5 with puppet 3.4.2.
I would like to run a manifest with the following content:
file { "/Users/${id}/Desktop/testfile":
ensure => file,
}
file { "/usr/testfile":
ensure => file,
}