search for: barfile

Displaying 4 results from an estimated 4 matches for "barfile".

Did you mean: tarfile
2009 Oct 05
1
--copy-unsafe-links does not work for "double" symlinks
...directory-structure ("empty"): drwx------ ./1 - host 2 directory-structure: drwx------ ./2 -rw------- ./2/file lrwxrwxrwx ./2/dir -> ../foo drwx------ ./foo -rw------- ./foo/foofile lrwxrwxrwx ./foo/bar -> ../bar drwx------ ./bar -rw------- ./bar/barfile - mirror host 2 to host 1: $ rsync -av --copy-unsafe-links 2/ 1/ sending incremental file list ./ file dir/ dir/bar -> ../bar/ dir/foofile sent 206 bytes received 60 bytes 532.00 bytes/sec total size is 7 speedup is 0.03 Now, host 1 contains: drwx---...
2007 Aug 24
7
Can I do this in a template..?
...uch. I guess it''s one of the areas where I should contribute to the docs - once I figured out what I can do, that is... ;-) Ex: foobar.pp: ---------- class foo { file { "/etc/foofile": content => template("template.erb"), } } class bar { file { "/etc/barfile": content => template("template.erb"), } } template.erb: ------------- <% if name.include? "foofile" -%> This is foofile <% else -%> This is barfile <% end -%> I''m not a big ruby hacker - yet ;-) I know that I can test the contents of a...
2007 Aug 24
7
Problem restarting client service ssh in client
Hello, I want a simple operation in a puppet node like restarting the ssh service if it was stopped. My site.pp is simple as this: import "services/*" node default { include ssh } The services directory as a ssh.pp : class ssh { service { ssh: ensure => running, subscribe => File["/etc/ssh/sshd_config"] } } I''ve stopped the ssh service in the
2010 Nov 07
14
EC2 with puppet bootstrap notes and scripts
Hello... I wanted to be able to startup an EC2 instance with one command and have a fully functioning server without having to shell into each new instance and configure the bits to allow puppet to finish the configuration. Here are some notes I came up with for bootstrapping an ec2 instance with puppet using Ubuntu 10.04. I left out a lot of things about creating and running custom AIM