diff options
author | varac <varacanero@zeromail.org> | 2013-10-30 21:56:26 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-10-30 21:56:26 +0100 |
commit | b481103c024036e745c22d8f75e676ed875f83cb (patch) | |
tree | a2ccc93dc78d8a826160e246192cfdc83773bf73 /lib/leap_cli/remote | |
parent | 90bf49387b3a1e3f5a8cc873e19f0e740a401e27 (diff) | |
parent | f2746ddc5a4cdf104970d3998ad33303a2af74fb (diff) |
Merge branch 'master' of ssh://code.leap.se/leap_cli
Diffstat (limited to 'lib/leap_cli/remote')
-rw-r--r-- | lib/leap_cli/remote/leap_plugin.rb | 2 | ||||
-rw-r--r-- | lib/leap_cli/remote/tasks.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb index f5bf490..04b1e2c 100644 --- a/lib/leap_cli/remote/leap_plugin.rb +++ b/lib/leap_cli/remote/leap_plugin.rb @@ -6,7 +6,7 @@ module LeapCli; module Remote; module LeapPlugin def required_packages - "puppet ruby-hiera-puppet rsync lsb-release" + "puppet ruby-hiera-puppet rsync lsb-release locales" end def log(*args, &block) diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb index 0721c34..5b0418a 100644 --- a/lib/leap_cli/remote/tasks.rb +++ b/lib/leap_cli/remote/tasks.rb @@ -14,13 +14,13 @@ end task :install_prerequisites, :max_hosts => MAX_HOSTS do leap.mkdirs LeapCli::PUPPET_DESTINATION - run "echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen; locale-gen" leap.log :updating, "package list" do run "apt-get update" end leap.log :installing, "required packages" do run "DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Options::=--force-confold install #{leap.required_packages}" end + run "echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen; locale-gen" leap.mkdirs("/etc/leap", "/srv/leap") leap.mark_initialized end |