File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 164164 true => ' _none_' ,
165165 default => $puppet_agent::proxy ,
166166 }
167+
167168 yumrepo { 'pc_repo' :
168169 baseurl => $source ,
169170 descr => " Puppet Labs ${puppet_agent::collection} Repository" ,
178179 username => $puppet_agent::username ,
179180 password => $puppet_agent::password ,
180181 }
182+ file { '/etc/yum.repos.d/pc_repo.repo' :
183+ ensure => file ,
184+ mode => " 0600"
185+ }
181186 }
182187 }
183188}
Original file line number Diff line number Diff line change 134134 # 'auto' versus X.Y.Z
135135 $_package_version = getvar(' puppet_agent::master_or_package_version' )
136136
137+ # REMIND: why is this is_pe??
137138 # REMIND: add credentials to PuppetcoreCreds
138139 $pw = unwrap($puppet_agent::password )
139140 $url = URI($source )
140- $baseurl = " ${url.scheme}://${puppet_agent::username} :${pw} @${url.host}/${url.path}?auth=basic&ssl_verify=no"
141+ # REMIND: should this be sensitive? so it doesn't show in yum repo diff?
142+ # REMIND: what about ssl_verify=no?
143+ $baseurl = Sensitive(" ${url.scheme}://${puppet_agent::username} :${pw} @${url.host}/${url.path}?auth=basic&ssl_verify=no" )
141144
142145 # In Puppet Enterprise, agent packages are served by the same server
143146 # as the master, which can be using either a self signed CA, or an external CA.
You can’t perform that action at this time.
0 commit comments