Name: puppet-lint-anchor-check
Owner: Vox Pupuli
Description: Puppet-lint plugin to check for anchor resources
Created: 2017-09-07 10:21:53.0
Updated: 2017-09-07 10:42:41.0
Pushed: 2017-09-09 10:33:42.0
Size: 10
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A puppet-lint plugin to check that anchor
resources are unused.
m install puppet-lint-anchor-check
'puppet-lint-anchor-check', :require => false
The anchor pattern should be replaced with the contain
function.
or { 'foo::begin': }
lass { 'foo::install': }
lass { 'foo::config': }
lass { 'foo::service': }
nchor { 'foo::end': }
ain 'foo::install'
ain 'foo::config'
ain 'foo::service'
s['foo::install']
lass['foo::config']
lass['foo::service']
Copyright 2017 Alexander Fisher
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.