On 30 March 2012 20:18, Stefan Wiederoder
wrote:
> 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 =
Thank you so much Gary. I will try this
Thanks,
Jeeva
On Sun, Apr 1, 2012 at 11:05 PM, Gary Larizza wrote:
> Jeeva,
>
> Your custom fact would do something like:
> File.directory?('/path/to/check') that returns true or false depending on
> whether the directory existed. Your fact would retur
Jeeva,
Your custom fact would do something like:
File.directory?('/path/to/check') that returns true or false depending on
whether the directory existed. Your fact would return a true or false
value (so if the custom fact were named 'path_to_x' you would do something
like this in your init.pp
Hi Gary,
How i can put this in my init.pp file. Actually i am checking for the path.
if path found then copy the file else dont create any file/folder. So here
i need to check for 3 different path on each server. if any of the below
path exist then copy the file.
Thanks,
Jeeva
On Sun, Apr 1, 201
Jeeva,
I would make a custom fact (
http://docs.puppetlabs.com/guides/custom_facts.html) that checks for the
presence of these files. Your Puppet manifest would check the condition of
this fact to ensure the file absent or present (i.e. if $custom_fact { file
{ '/path/to/file': ensure => file }
Team,
Any help
Thanks,
Jeeva
On Fri, Mar 30, 2012 at 12:51 PM, Munna S <19.mu...@gmail.com> wrote:
> Team,
>
> I need a puppet module to copy a file to different location based on
> condition check . Below is my requirement
>
> if /opt/path1 found on the server then copy file1
> if /opt/path2
This worked perfectly! Thanks!
Reading the documentation again now :)
On 31/03/12 12:26, Denmat wrote:
Hi Gino,
The good news with a work in progress is that you can start all over
again ;)
What you are trying to call is a define:
http://docs.puppetlabs.com/learning/definedtypes.html
http:
So, this is an Awesomely un-helpful error message.
First there's two (possibly three) things that happen between the "Setting
up puppet agent..." message and whatever message comes next (the next
message depends on if you're installing the console or not).
First the installer runs puppet agent -t
I am also getting this error.
I had puppet installed, however I uninstalled it using the provided script.
Now I wish to reinstall it and I get the above error.
On Friday, March 30, 2012 1:34:34 AM UTC+2, David Summers wrote:
>
> I'm receiving the exact same error. Did you ever figure out what was
Hi,
[...]
I changed how the range works (also making it resists Ruby's string
permutation bomb).
Ideas implemented so far:
https://gist.github.com/2277148
https://gist.github.com/2277144
https://gist.github.com/2270106
Also, the "a..b" and "a...b" notation should also be supported.
I will pu
Hi,
i was testing puppet postrun_command option and i found that it will be
executed even if puppet run fails to complete successfully
as seen in this snippets :
debug: Executing 'rm /root/file'
> debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml;
> using pson
> err: Could n
11 matches
Mail list logo