Skip to content

Commit e2383ef

Browse files
committed
Merge pull request #224 from nibalizer/pr_204
fix 'Undefined variable' by adding 'mongodb::globals::mongos_service_…
2 parents 4560185 + 1e235c2 commit e2383ef

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
@@ -144,6 +144,7 @@
144144
$mongos_config = '/etc/mongodb-shard.conf'
145145
$dbpath = '/var/lib/mongodb'
146146
$logpath = '/var/log/mongodb/mongodb.log'
147+
$pidfilepath = '/var/run/mongod.pid'
147148
$bind_ip = pick($::mongodb::globals::bind_ip, ['127.0.0.1'])
148149
} else {
149150
# although we are living in a free world,
@@ -175,6 +176,7 @@
175176
}
176177
# avoid using fork because of the init scripts design
177178
$fork = undef
179+
$journal = undef
178180
$mongos_pidfilepath = undef
179181
$mongos_unixsocketprefix = undef
180182
$mongos_logpath = undef

0 commit comments

Comments
 (0)