{"id":21620367,"url":"https://github.com/madhacking/puppet-module-resolv_conf","last_synced_at":"2026-05-16T23:11:18.048Z","repository":{"id":31196150,"uuid":"34756903","full_name":"MADhacking/puppet-module-resolv_conf","owner":"MADhacking","description":"Puppet module for managing the /etc/resolv.conf file.","archived":false,"fork":false,"pushed_at":"2015-05-03T21:43:28.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-23T21:20:22.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MADhacking.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}},"created_at":"2015-04-28T21:30:31.000Z","updated_at":"2015-05-03T21:43:28.000Z","dependencies_parsed_at":"2022-09-26T20:31:36.311Z","dependency_job_id":null,"html_url":"https://github.com/MADhacking/puppet-module-resolv_conf","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MADhacking%2Fpuppet-module-resolv_conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MADhacking%2Fpuppet-module-resolv_conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MADhacking%2Fpuppet-module-resolv_conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MADhacking%2Fpuppet-module-resolv_conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MADhacking","download_url":"https://codeload.github.com/MADhacking/puppet-module-resolv_conf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244278342,"owners_count":20427487,"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-11-24T23:11:29.778Z","updated_at":"2026-05-16T23:11:17.961Z","avatar_url":"https://github.com/MADhacking.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# /etc/resolv.conf module for Puppet\n\n## Description\nPuppet module for managing the /etc/resolv.conf file.\n\n## Example usage\n\n\tclass { 'resolv_conf':\n\t    domain      =\u003e 'lan1.internal.hacking.co.uk',\n\t    nameservers =\u003e ['10.0.1.5', '10.0.1.109'],\n\t  }\n\n### Resulting files\n\n#### /etc/resolv.conf\n\n\t# This file is automatically generated by Puppet\n\t#\n\t# Any changes made to this file will be lost on the next automated Puppet run!\n\t\n\t# The default domain name if none is supplied\n\tdomain lan1.internal.hacking.co.uk\n\t\n\t# The list of name servers\n\tnameserver 10.0.1.5\n\tnameserver 10.0.1.109\n\t\n\t# The list of options\n\toptions timeout:2\n\toptions attempts:3\n\toptions rotate\n\n## Passing options\n\nThe default values of `timeout` (2 seconds), `attempts` (one more than the number\nof name servers) and `rotate` (true) may be modified or their use disabled by passing\n`undef`.  Additional options may be supplied by using the `options` parameter.\n\n\tclass { 'resolv_conf':\n\t    domain      =\u003e 'lan1.internal.hacking.co.uk',\n\t    nameservers =\u003e ['10.0.1.5', '10.0.1.109'],\n\t    timeout     =\u003e undef,\n\t    attempts    =\u003e undef,\n\t    rotate      =\u003e false,\n\t    options     =\u003e ['single-request', 'single-request-reopen'],\n\t  }\n\n### Resulting files\n\n#### /etc/resolv.conf\n\n\t# This file is automatically generated by Puppet\n\t#\n\t# Any changes made to this file will be lost on the next automated Puppet run!\n\t\n\t# The default domain name if none is supplied\n\tdomain lan1.internal.hacking.co.uk\n\t\n\t# The list of name servers\n\tnameserver 10.0.1.5\n\tnameserver 10.0.1.109\n\t\n\t# The list of options\n\toptions single-request\n\toptions single-request-reopen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhacking%2Fpuppet-module-resolv_conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadhacking%2Fpuppet-module-resolv_conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhacking%2Fpuppet-module-resolv_conf/lists"}