{"id":22870260,"url":"https://github.com/dadav/puppet-lint-contained_classes-check","last_synced_at":"2025-03-31T11:26:06.049Z","repository":{"id":106606870,"uuid":"285087403","full_name":"dadav/puppet-lint-contained_classes-check","owner":"dadav","description":"A plugin that checks if every class resource is contained.","archived":false,"fork":false,"pushed_at":"2020-08-05T06:30:19.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T16:57:56.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-04T20:04:22.000Z","updated_at":"2020-08-05T07:39:34.000Z","dependencies_parsed_at":"2024-01-10T22:15:51.070Z","dependency_job_id":null,"html_url":"https://github.com/dadav/puppet-lint-contained_classes-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fpuppet-lint-contained_classes-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fpuppet-lint-contained_classes-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fpuppet-lint-contained_classes-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fpuppet-lint-contained_classes-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/puppet-lint-contained_classes-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460268,"owners_count":20781078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T13:14:20.658Z","updated_at":"2025-03-31T11:26:06.036Z","avatar_url":"https://github.com/dadav.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"puppet-contained-classes-check\r\n=================================\r\n\r\nA puppet-lint plugin to check that you contain your ressource-like created classes.\r\n\r\n\r\n## Checks\r\n\r\n### Class containment\r\n\r\nIf you don't contain the classes, they will run out of order and mess with your profiles.\r\n\r\n#### What you have done\r\n\r\n```puppet\r\nclass { 'apache':\r\n  ensure =\u003e present,\r\n}\r\n```\r\n\r\n#### What you should have done\r\n\r\n```puppet\r\nclass { 'apache':\r\n  ensure =\u003e present,\r\n}\r\ncontain apache\r\n```\r\n\r\n#### Disabling the check\r\n\r\nTo disable this check, you can add `--no-contained-classes-check` to your puppet-lint command line.\r\n\r\n```shell\r\n$ puppet-lint --no-contained_classes-check path/to/file.pp\r\n```\r\n\r\nAlternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your `Rakefile`.\r\n\r\n```ruby\r\nPuppetLint.configuration.send('disable_contained_classes')\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fpuppet-lint-contained_classes-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Fpuppet-lint-contained_classes-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fpuppet-lint-contained_classes-check/lists"}