diff options
Diffstat (limited to '')
-rw-r--r-- | services/common.cf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/services/common.cf b/services/common.cf index 2cce6fd..8f93cc4 100644 --- a/services/common.cf +++ b/services/common.cf @@ -4,6 +4,7 @@ bundle agent common any:: "packages" slist => { @(flavour.packages), + @(julien.packages), @(specific.packages), }; files: @@ -29,3 +30,17 @@ bundle agent common "$(this.bundle): /etc/hosts repaired" ifvarclass => "common_hosts_files_repaired"; "$(this.bundle): $(packages) installed" ifvarclass => "common_packages_$(packages)_add_repaired"; } + +bundle agent home_skel(user) +{ + files: + any:: + "/home/$(user)/." + create => "true", + copy_from => seed_cp("/etc/skel"), + depth_search => recurse("inf"), + classes => if_repaired("home_skel_$(user)_repaired"); + reports: + any:: + "$(this.bundle): /home/$(user) initialized" ifvarclass => "home_skel_$(user)_repaired"; +} |