Skip to content

Commit e11143c

Browse files
committed
Ensure to have linebreaks in cert files
1 parent b9f492d commit e11143c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

manifests/certificate/deploy.pp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
order => '01',
6969
require => Dehydrated_key[$key],
7070
}
71+
concat::fragment { "${dn}_key_linebreak" :
72+
target => $crt_full_chain_with_key,
73+
content => "\n\n",
74+
order => '02',
75+
require => Dehydrated_key[$key],
76+
}
7177
concat::fragment { "${dn}_fullchain" :
7278
target => $crt_full_chain_with_key,
7379
source => $crt_full_chain,
@@ -81,13 +87,25 @@
8187
order => '10',
8288
require => File[$crt],
8389
}
90+
concat::fragment { "${dn}_crt_linebreak" :
91+
target => $crt_full_chain,
92+
content => "\n\n",
93+
order => '11',
94+
require => File[$crt],
95+
}
8496

8597
concat::fragment { "${dn}_dh" :
8698
target => $crt_full_chain,
8799
source => $dh,
88100
order => '30',
89101
require => File[$dh],
90102
}
103+
concat::fragment { "${dn}_dh_linebreak" :
104+
target => $crt_full_chain,
105+
content => "\n\n",
106+
order => '31',
107+
require => File[$dh],
108+
}
91109

92110
concat::fragment { "${dn}_ca" :
93111
target => $crt_full_chain,

0 commit comments

Comments
 (0)