Skip to content

Commit 1e235c2

Browse files
Jan Grewenibalizer
authored andcommitted
fix 'Undefined variable' by adding 'mongodb::globals::mongos_service_[enable|ensure|status]' and 'mongodb::params::[pidfilepath|journal]' for Debian"
1 parent 7d1d738 commit 1e235c2

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

manifests/globals.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
$service_ensure = undef,
1212
$service_name = undef,
1313
$mongos_service_manage = undef,
14+
$mongos_service_enable = undef,
15+
$mongos_service_ensure = undef,
16+
$mongos_service_status = undef,
1417
$mongos_service_name = undef,
1518
$service_provider = undef,
1619
$service_status = undef,

manifests/params.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
$mongos_config = '/etc/mongodb-shard.conf'
143143
$dbpath = '/var/lib/mongodb'
144144
$logpath = '/var/log/mongodb/mongodb.log'
145+
$pidfilepath = '/var/run/mongod.pid'
145146
$bind_ip = pick($::mongodb::globals::bind_ip, ['127.0.0.1'])
146147
} else {
147148
# although we are living in a free world,
@@ -173,6 +174,7 @@
173174
}
174175
# avoid using fork because of the init scripts design
175176
$fork = undef
177+
$journal = undef
176178
$mongos_pidfilepath = undef
177179
$mongos_unixsocketprefix = undef
178180
$mongos_logpath = undef

0 commit comments

Comments
 (0)