Skip to content

Commit

Permalink
neteja
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Jul 4, 2017
1 parent 09ba5e2 commit 95fe965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
11 changes: 3 additions & 8 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
class shadow(
$manage_package = true,
$package_ensure = 'installed',
$manage_service = true,
$manage_docker_service = true,
$service_ensure = 'running',
$service_enable = true,
) inherits shadow::params{
$manage_package = true,
$package_ensure = 'installed',
) inherits shadow::params{

validate_re($package_ensure, [ '^present$', '^installed$', '^absent$', '^purged$', '^held$', '^latest$' ], 'Not a supported package_ensure: present/absent/purged/held/latest')

class { '::shadow::install': }
-> class { '::shadow::config': }
~> class { '::shadow::service': }
-> Class['::shadow']

}
24 changes: 0 additions & 24 deletions manifests/service.pp

This file was deleted.

0 comments on commit 95fe965

Please sign in to comment.