{"id":16248107,"url":"https://github.com/purpleidea/spc-puppet-apply","last_synced_at":"2025-04-08T12:18:14.055Z","repository":{"id":31679946,"uuid":"35245497","full_name":"purpleidea/spc-puppet-apply","owner":"purpleidea","description":"A super privileged container for the puppet apply command","archived":false,"fork":false,"pushed_at":"2015-06-26T06:49:32.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T08:17:20.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purpleidea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-07T21:54:22.000Z","updated_at":"2019-07-20T00:29:12.000Z","dependencies_parsed_at":"2022-09-06T18:01:01.561Z","dependency_job_id":null,"html_url":"https://github.com/purpleidea/spc-puppet-apply","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/purpleidea%2Fspc-puppet-apply","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleidea%2Fspc-puppet-apply/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleidea%2Fspc-puppet-apply/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purpleidea%2Fspc-puppet-apply/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purpleidea","download_url":"https://codeload.github.com/purpleidea/spc-puppet-apply/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838447,"owners_count":21004580,"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-10-10T14:40:10.142Z","updated_at":"2025-04-08T12:18:14.016Z","avatar_url":"https://github.com/purpleidea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This is an SPC (super privileged container) for puppet apply.\n\nIt is distributed with an omv.yaml file for ease in setting up and testing an\nexample environment built by Oh-My-Vagrant. Nothing in this SPC *depends* on\nOh-My-Vagrant, but if you don't use the project then you obviously must provide\nyour own virtual machine test environment.\n\nIf you are using Oh-My-Vagrant, after a successful \"vup\", you should have a\ndocker image built:\n\n```\n# docker images | grep spc\nspc-puppet-apply    latest              72f2dfbc4e07        7 minutes ago       314.5 MB\n```\n\nAs a test application, this project supplies a test.pp example. You can copy it\nto somewhere that is readable by your container, for example to: /var/tmp/\n\n```\n# mkdir /var/tmp/spc-puppet-apply/\n# cp -a /vagrant/docker/spc-puppet-apply/test.pp /var/tmp/spc-puppet-apply/\n```\n\nPlease note that if you are using Oh-My-Vagrant with the Atomic host, you will\ninstead find the example files in: /home/vagrant/sync/docker/spc-puppet-apply/\n\nFinally, run the container and point to the container accessible .pp file that\nyou would like to \"apply\":\n\n```\n# docker run --rm -it --privileged -v /etc:/etc -v /var:/var -v /run:/run --net=host spc-puppet-apply /var/tmp/spc-puppet-apply/test.pp\nNotice: Compiled catalog for omv1.example.com in environment production in 0.02 seconds\nNotice: This is a puppet test!\n\nNotice: /Stage[main]/Main/Notify[hello]/message: defined 'message' as 'This is a puppet test!\n'\nNotice: Finished catalog run in 0.06 seconds\n```\n\nPlease note that running an SPC should be a lot simpler when using the atomic\ncommand, as this SPC supports the atomic run label.\n\nHappy hacking!\nJames\n@purpleidea\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurpleidea%2Fspc-puppet-apply","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurpleidea%2Fspc-puppet-apply","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurpleidea%2Fspc-puppet-apply/lists"}