From 7ce3190986cf8e5fe037a7ccd4c1076505b117f4 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 12 Jul 2016 16:41:59 -0400 Subject: remove submodules in preparation for move to subrepos Change-Id: Ia7655153b556337f676e3d909559c4a7306bedd6 --- puppet/modules/augeas | 1 - 1 file changed, 1 deletion(-) delete mode 160000 puppet/modules/augeas (limited to 'puppet/modules/augeas/manifests/init.pp') diff --git a/puppet/modules/augeas b/puppet/modules/augeas deleted file mode 160000 index 58ab2b90..00000000 --- a/puppet/modules/augeas +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 58ab2b90c52a5d951fa41596827bc3b6f52310e7 -- cgit v1.2.3 From 95374aacb857ed35c2fdfe6be7c0bfab86653963 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 12 Jul 2016 16:46:07 -0400 Subject: git subrepo clone https://leap.se/git/puppet_augeas puppet/modules/augeas subrepo: subdir: "puppet/modules/augeas" merged: "27e3359" upstream: origin: "https://leap.se/git/puppet_augeas" branch: "master" commit: "27e3359" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "1e79595" Change-Id: Ifa5c7daf3f1be1793c42f873a267b7498f5c6c0f --- puppet/modules/augeas/manifests/init.pp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 puppet/modules/augeas/manifests/init.pp (limited to 'puppet/modules/augeas/manifests/init.pp') diff --git a/puppet/modules/augeas/manifests/init.pp b/puppet/modules/augeas/manifests/init.pp new file mode 100644 index 00000000..41f4f875 --- /dev/null +++ b/puppet/modules/augeas/manifests/init.pp @@ -0,0 +1,24 @@ +# Class: augeas +# +# Install and configure Augeas +# +# Parameters: +# ['version'] - the desired version of Augeas +# ['ruby_version'] - the desired version of the Ruby bindings for Augeas +# ['lens_dir'] - the lens directory to use +# ['purge'] - whether to purge lens directories +class augeas ( + $version = present, + $ruby_version = present, + $lens_dir = $augeas::params::lens_dir, + $purge = true, +) inherits augeas::params { + + class {'::augeas::packages': } -> + class {'::augeas::files': } -> + Class['augeas'] + + # lint:ignore:spaceship_operator_without_tag + Package['ruby-augeas', $augeas::params::augeas_pkgs] -> Augeas <| |> + # lint:endignore +} -- cgit v1.2.3