File tree 4 files changed +6
-29
lines changed
spec/classes/profile/puppet
4 files changed +6
-29
lines changed Original file line number Diff line number Diff line change 7
7
# @example
8
8
# include nebula::profile::puppet::db
9
9
class nebula::profile::puppet::db {
10
- #class { 'puppetdb' :
11
- # disable_cleartext => true,
12
- # manage_firewall => false,
13
- # }
10
+ # puppetdb is no longer managed by nebula
14
11
}
Original file line number Diff line number Diff line change 9
9
class nebula::profile::puppet::master_with_db (
10
10
String $puppetdb_server = lookup(' nebula::puppetdb' ),
11
11
) {
12
- # class { 'puppetdb::master::config':
13
- # puppetdb_server => $puppetdb_server,
14
- # manage_report_processor => true,
15
- # enable_reports => true,
16
- # }
12
+ # puppetdb is no longer managed by nebula
17
13
}
Original file line number Diff line number Diff line change 10
10
context "on #{ os } " do
11
11
let ( :facts ) { os_facts }
12
12
13
- xit do
14
- expect ( subject ) . to contain_class ( 'puppetdb' ) . with (
15
- disable_cleartext : true ,
16
- manage_firewall : false ,
17
- )
13
+ it do
14
+ expect ( subject ) . not_to contain_class ( 'puppetdb' )
18
15
end
19
16
end
20
17
end
Original file line number Diff line number Diff line change 10
10
context "on #{ os } " do
11
11
let ( :facts ) { os_facts }
12
12
13
- xit do
14
- expect ( subject ) . to contain_class ( 'puppetdb::master::config' ) . with (
15
- puppetdb_server : 'puppetdb.default.invalid' ,
16
- manage_report_processor : true ,
17
- enable_reports : true ,
18
- )
19
- end
20
-
21
- context 'when given a puppetdb_server of db.puppet.gov' do
22
- let ( :params ) { { puppetdb_server : 'db.puppet.gov' } }
23
-
24
- xit do
25
- expect ( subject ) . to contain_class ( 'puppetdb::master::config' )
26
- . with_puppetdb_server ( 'db.puppet.gov' )
27
- end
13
+ it do
14
+ expect ( subject ) . not_to contain_class ( 'puppetdb::master::config' )
28
15
end
29
16
end
30
17
end
You can’t perform that action at this time.
0 commit comments