|
478 | 478 | conn_max_age => $conn_max_age, |
479 | 479 | conn_lifetime => $conn_lifetime, |
480 | 480 | confdir => $confdir, |
481 | | - puppetdb_user => $puppetdb_user, |
482 | 481 | puppetdb_group => $puppetdb_group, |
483 | 482 | migrate => $migrate, |
484 | 483 | notify => Service[$puppetdb_service], |
|
510 | 509 | conn_max_age => $read_conn_max_age, |
511 | 510 | conn_lifetime => $read_conn_lifetime, |
512 | 511 | confdir => $confdir, |
513 | | - puppetdb_user => $puppetdb_user, |
514 | 512 | puppetdb_group => $puppetdb_group, |
515 | 513 | notify => Service[$puppetdb_service], |
516 | 514 | database_max_pool_size => $read_database_max_pool_size, |
|
520 | 518 | file { |
521 | 519 | $ssl_dir: |
522 | 520 | ensure => directory, |
523 | | - owner => $puppetdb_user, |
| 521 | + owner => 'root', |
524 | 522 | group => $puppetdb_group, |
525 | | - mode => '0700'; |
| 523 | + mode => '0755'; |
526 | 524 | $ssl_key_path: |
527 | 525 | ensure => file, |
528 | 526 | content => $ssl_key, |
529 | | - owner => $puppetdb_user, |
| 527 | + owner => 'root', |
530 | 528 | group => $puppetdb_group, |
531 | | - mode => '0600', |
| 529 | + mode => '0640', |
532 | 530 | notify => Service[$puppetdb_service]; |
533 | 531 | $ssl_cert_path: |
534 | 532 | ensure => file, |
535 | 533 | content => $ssl_cert, |
536 | | - owner => $puppetdb_user, |
| 534 | + owner => 'root', |
537 | 535 | group => $puppetdb_group, |
538 | | - mode => '0600', |
| 536 | + mode => '0644', |
539 | 537 | notify => Service[$puppetdb_service]; |
540 | 538 | $ssl_ca_cert_path: |
541 | 539 | ensure => file, |
542 | 540 | content => $ssl_ca_cert, |
543 | | - owner => $puppetdb_user, |
| 541 | + owner => 'root', |
544 | 542 | group => $puppetdb_group, |
545 | | - mode => '0600', |
| 543 | + mode => '0644', |
546 | 544 | notify => Service[$puppetdb_service]; |
547 | 545 | } |
548 | 546 | } |
|
560 | 558 |
|
561 | 559 | file { $ssl_key_pk8_path: |
562 | 560 | ensure => file, |
563 | | - owner => $puppetdb_user, |
| 561 | + owner => 'root', |
564 | 562 | group => $puppetdb_group, |
565 | | - mode => '0600', |
| 563 | + mode => '0640', |
566 | 564 | notify => Service[$puppetdb_service], |
567 | 565 | } |
568 | 566 | } |
|
583 | 581 | confdir => $confdir, |
584 | 582 | max_threads => $max_threads, |
585 | 583 | notify => Service[$puppetdb_service], |
586 | | - puppetdb_user => $puppetdb_user, |
587 | 584 | puppetdb_group => $puppetdb_group, |
588 | 585 | } |
589 | 586 |
|
|
592 | 589 | certificate_whitelist => $certificate_whitelist, |
593 | 590 | disable_update_checking => $disable_update_checking, |
594 | 591 | confdir => $confdir, |
595 | | - puppetdb_user => $puppetdb_user, |
596 | 592 | puppetdb_group => $puppetdb_group, |
597 | 593 | notify => Service[$puppetdb_service], |
598 | 594 | } |
|
0 commit comments