Skip to content

Commit

Permalink
(choria-io#207) ensure mcollective is installed via choria module
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <rip@devco.net>
  • Loading branch information
ripienaar committed Jan 15, 2021
1 parent 5f5ce51 commit bf8eff2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@
contain choria::service_disable
}

contain mcollective

contain choria::install
contain choria::scout_checks
contain choria::scout_metrics
Expand Down
1 change: 1 addition & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"project_page": "https://github.com/choria-io/puppet-choria",
"issues_url": "https://github.com/choria-io/puppet-choria/issues",
"dependencies": [
{ "name": "puppetlabs/scheduled_task", "version_requirement": ">= 2.3.0 < 3.0.0" },
{ "name": "puppetlabs/stdlib", "version_requirement": ">= 4.24.0 < 7.0.0" },
{ "name": "puppetlabs/apt", "version_requirement": ">= 4.5.1 < 8.0.0" },
{ "name": "choria/mcollective_choria", "version_requirement": ">= 0.20.0 < 2.0.0" },
Expand Down
1 change: 1 addition & 0 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
end
context 'with all defaults' do
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_class("mcollective") }
it { is_expected.to contain_class("choria") }
it { is_expected.to contain_class("choria::config") }
it { is_expected.to contain_class("choria::install") }
Expand Down

0 comments on commit bf8eff2

Please sign in to comment.