Commit Graph

12 Commits

Author SHA1 Message Date
Tobias Urdin 35cd87302f Fix module structure
Fixes so that the top level structure
of the modules conform to the puppet standard [1].

[1] https://puppet.com/docs/puppet/5.3/modules_fundamentals.html#module-structure

Change-Id: Id295bb47c0fb2ffdfd5087400ec077af87a78382
2018-12-12 11:32:28 +01:00
wangqi 0dd6b72ef5 Update mysql connection in doc
Change-Id: I6e7dc19cccc874614dc90ea339bb484481e4fbb0
2018-02-25 15:55:44 +00:00
Carlos Camacho 3963d27ef4 Fix puppet-lint before upgrading gem
Removing puppet-lint warnings
in favor of upgrading to latest gem

2016-09-13 21:08:47.767844 | manifests/api.pp:558:WARNING: line has more than 140 characters
2016-09-13 21:08:47.767929 | manifests/params.pp:35:WARNING: line has more than 140 characters
2016-09-13 21:08:47.767948 | tests/site.pp:6:WARNING: unquoted node name found

Change-Id: I3a8a01057befa358867eb0396e19c9b763e2b13a
2016-09-16 19:13:44 +02:00
Iury Gregory Melo Ferreira cf604fc6a6 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning

Change-Id: I7e58412fe26962337845b3cb9d67679bac0709d8
2016-05-18 01:12:46 -03:00
Clayton O'Neill d72e768a10 Add Puppet 4.x lint checks
This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins.  Most of these plugins are for 4.x compat, but some
just catch common errors.

Change-Id: I3d21236d5bf3b0b6c625e38e20492d35aaa13307
2015-02-09 17:02:48 +00:00
Mathieu Gagné e16f86e37c Remove deprecated parameters
* glance::api::sql_connection (deprecated since 4.1.0)
* glance::api::sql_idle_timeout (deprecated since 4.1.0)
* glance::registry::sql_connection (deprecated since 4.1.0)
* glance::registry::sql_idle_timeout (deprecated since 4.1.0)

Change-Id: Ibfe4e1a0a9f2f9f79b3fc76ef6a93ce429f72ed4
2014-11-25 13:50:46 -05:00
Dan Bode 3fb580a4f3 Fix lint failures
This commit fixes the lint failures from
the glance module.

It's pretty picky about classes being defined
anywhere (even in tests)

This commit removes the class from the tests so
that puppet-lint is happy.

Change-Id: I0257479fb450ed2fbb6876fb73fc695e4a1f7c49
2013-08-07 16:39:14 -07:00
Mathieu Gagné d5567e6aef Various Puppet lint fixes
* Fix following warnings:
    * double quoted string containing no variables
    * indentation of => is not properly aligned
    * quoted boolean value found
    * variable not enclosed in {}
* Fix following errors:
    * two-space soft tabs not used
* Remove quotes around class in include/require statements
* Remove some comments from the code, they added no value

Change-Id: I341b37f2c6795951f3285037b2fa612d767a4474
2013-07-01 17:34:19 -04:00
Cody Herriges 202a27b66a Prepare repository for a Puppet Forge release
Commit updates README.md with a more consistent template for documentation,
  removes travis.yml since we're on stackfoge now, updates the Modulefile
  for the new release, deletes TODO list, CHANGELOGs deleted in favor of
  summarized release notes in README.md, which will show up on Forge,
  and moves examples to tests to adhere with Puppet Labs Style
  Guide(http://docs.puppetlabs.com/guides/style_guide.html#tests)

Change-Id: Iffa30f6f35b996305f635317fc0770f908e9057e
2013-06-07 15:58:56 -07:00
Dan Bode 4cd8cf36a3 switch log_verbose,log_debug to debug,verbose 2012-10-14 00:21:14 -07:00
Adam Gandelman 16a544c083 Modify class parameters, templates and tests for logging options avoiding use of 'debug' 2011-06-21 12:19:20 -07:00
Dan Bode 70c652874d initial commit for glance.
This code was contributed by Chris Blumentritt <cblument@gmail.com>
2011-06-14 17:55:48 -07:00