diff options
| author | Melissa Stone <melissa@puppet.com> | 2018-04-26 10:31:24 -0700 |
|---|---|---|
| committer | Melissa Stone <melissa@puppet.com> | 2018-04-26 10:31:24 -0700 |
| commit | beb0aa2b549ed4b6f90d82a864a443e35c102b38 (patch) | |
| tree | 4997f732281a7e0cb5ff33a745663cc5cffed741 | |
| parent | a7d0997489d71d9d53a5a1990ff5211169dcdfc5 (diff) | |
| download | puppet-mailalias_core-beb0aa2b549ed4b6f90d82a864a443e35c102b38.tar.gz puppet-mailalias_core-beb0aa2b549ed4b6f90d82a864a443e35c102b38.tar.bz2 | |
Remove windows from metadata.json
| -rw-r--r-- | metadata.json | 8 | ||||
| -rw-r--r-- | spec/acceptance/tests/destroy_spec.rb | 6 | ||||
| -rw-r--r-- | spec/acceptance/tests/query_spec.rb | 2 |
3 files changed, 4 insertions, 12 deletions
diff --git a/metadata.json b/metadata.json index 6911a5a..782e7f6 100644 --- a/metadata.json +++ b/metadata.json @@ -48,14 +48,6 @@ ] }, { - "operatingsystem": "windows", - "operatingsystemrelease": [ - "2008 R2", - "2012 R2", - "10" - ] - }, - { "operatingsystem": "Fedora", "operatingsystemrelease": [ "25" diff --git a/spec/acceptance/tests/destroy_spec.rb b/spec/acceptance/tests/destroy_spec.rb index 4a740db..0f805a5 100644 --- a/spec/acceptance/tests/destroy_spec.rb +++ b/spec/acceptance/tests/destroy_spec.rb @@ -4,7 +4,7 @@ RSpec.context 'should delete an email alias' do name = "pl#{rand(999_999).to_i}" before(:all) do - agents.each do |agent| + non_windows_agents.each do |agent| # (setup) backup alias file on(agent, 'cp /etc/aliases /tmp/aliases', acceptable_exit_codes: [0, 1]) @@ -19,13 +19,13 @@ RSpec.context 'should delete an email alias' do end after(:all) do - agents.each do |agent| + non_windows_agents.each do |agent| # (teardown) restore the alias file on(agent, 'mv /tmp/aliases /etc/aliases', acceptable_exit_codes: [0, 1]) end end - agents.each do |agent| + non_windows_agents.each do |agent| it 'deletes the aliases database with puppet' do args = ['ensure=absent', 'recipient="foo,bar,baz"'] diff --git a/spec/acceptance/tests/query_spec.rb b/spec/acceptance/tests/query_spec.rb index 1a7ab42..17e0bbf 100644 --- a/spec/acceptance/tests/query_spec.rb +++ b/spec/acceptance/tests/query_spec.rb @@ -25,7 +25,7 @@ RSpec.context 'should be able to find an exisitng email alias' do end end - agents.each do |agent| + non_windows_agents.each do |agent| it 'queries for the mail alias with puppet' do on(agent, puppet_resource('mailalias', name)) do fail_test "didn't find the scheduled_task #{name}" unless stdout.include? 'present' |
