jeff1evesque / mongodb-cluster

puppet module to provision mongodb cluster
1 stars 0 forks source link

#3: Ensure 'database.pp' creates db tables #4

Closed jeff1evesque closed 7 years ago

jeff1evesque commented 7 years ago

Resolves #3.

jeff1evesque commented 7 years ago

This pull request has been verified on the [machine-learning]() repository:

$ vagrant up socrates
...
==> socrates: Running provisioner: puppet...
==> socrates: Running Puppet with environment mongodb...
==> socrates: stdin: is not a tty
==> socrates: Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/apt/manifests/init.pp", 18]:["/tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/mongodb/manifests/repo/apt.pp", 6]
==> socrates:    (at /tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
==> socrates: Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/apt/manifests/setting.pp", 18]:
==> socrates:    (at /tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
==> socrates: Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/apt/manifests/setting.pp", 19]:
==> socrates:    (at /tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
==> socrates: Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/apt/manifests/setting.pp", 37]:
==> socrates:    (at /tmp/vagrant-puppet/modules-f07217ab419cc50c879fbe11d04e38c8/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
==> socrates: Notice: Compiled catalog for socrates.mongodb.com in environment mongodb in 1.39 seconds
==> socrates: Notice: /Stage[main]/Apt/File[preferences]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb_cluster::Databases/File[/data]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb_cluster::Databases/File[/data/db]/ensure: created
==> socrates: Notice: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/content: content changed '{md5}b9de0ac9e2c9854b1bb213e362dc4e41' to '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
==> socrates: Notice: /Stage[main]/Mongodb::Repo::Apt/Apt::Source[mongodb]/Apt::Key[Add key: 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 from Apt::Source mongodb]/Apt_key[Add key: 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 from Apt::Source mongodb]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb::Repo::Apt/Apt::Source[mongodb]/Apt::Setting[list-mongodb]/File[/etc/apt/sources.list.d/mongodb.list]/ensure: defined content as '{md5}7c93581bb2fb7573f0b8fafad7fc7707'
==> socrates: Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
==> socrates: Notice: /Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongod.conf]/content: content changed '{md5}e653e268f2c19e96361a03d48d529b50' to '{md5}137d4d7235b50fcb99c1067f0a474d19'
==> socrates: Notice: /Stage[main]/Mongodb::Server::Config/Exec[fix dbpath permissions]/returns: executed successfully
==> socrates: Notice: /Stage[main]/Mongodb::Server::Config/File[/var/run/mongod.pid]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Triggered 'refresh' from 1 events
==> socrates: Notice: /Stage[main]/Mongodb::Client::Install/Package[mongodb_client]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb_cluster::Databases/Mongodb_database[svm_dataset]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb_cluster::Databases/Mongodb_database[svr_dataset]/ensure: created
==> socrates: Notice: /Stage[main]/Mongodb_cluster::Databases/Mongodb_user[admin]/ensure: created
==> socrates: Notice: Applied catalog in 60.90 seconds